import request from "@/utils/request.js";
//易定我的列表
export function OrderSellerList(data) {
    return request({
      url: "/order/seller_list",
      method: "post",
      data
    });
  }

//易定我的退款列表 
export function OrderrefundSellerList(data) {
    return request({
      url: "/order_refund/seller_list",
      method: "post",
      data
    });
  }

//易定我的发货 
export function OrderDelivery(data) {
    return request({
      url: "/order/delivery",
      method: "post",
      data
    });
  }

//易定我的核销 
export function OrderVerify(data) {
    return request({
      url: "/order/verify",
      method: "post",
      data
    });
  }

//发货快递公司 
export function OrderExpressCompany(data) {
    return request({
      url: "/order/express_company",
      method: "post",
      data
    });
  }

//查看订单详情
export function OrderDetail(params) {
    return request({
      url: "/order/detail",
      method: "get",
      params:params
    });
  }

//审核 
export function OrderReview(data) {
    return request({
      url: "/order_refund/review",
      method: "post",
      data
    });
  }

//核销记录
export function OrderVerification(data) {
    return request({
      url: "/order/verification_log",
      method: "post",
      data
    });
}

//我易订的退款列表
export function OrderBuyerList(data) {
    return request({
      url: "/order_refund/buyer_list",
      method: "post",
      data
    });
}

//我易定的列表 
export function BuyerList(data) {
    return request({
      url: "/order/buyer_list",
      method: "post",
      data
    });
}

//退款 
export function OrderRefundApply(data) {
  return request({
    url: "/order_refund/apply",
    method: "post",
    data
  });
}

//收货 
export function OrderReceipt(data) {
  return request({
    url: "/order/receipt",
    method: "post",
    data
  });
}

//评价 
export function CommentCreate(data) {
  return request({
    url: "/comment/create",
    method: "post",
    data
  });
}

//查看评价
export function CommentDetail(params) {
  return request({
    url: "/comment/detail",
    method: "get",
    params:params
  });
}
